<!DOCTYPE html>
<html style="height: 100%;" lang="en">
<head>
  <meta charset="utf-8" />

  <link rel="icon" type="image/svg+xml" href="./img/logo45.png" />
  <title>WINPE工具箱</title>
</head>
<body style="margin:0px; height: 100%;"  >
  <div style="margin:0px; height: 100%;"  id="app"></div>

</body>
<script type="module" src="index.tsx"></script>
<script>
/* //设置颜色模式
function matchMode() {
  // detect if on dark mode
  var isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches;
  const body = document.body;
  if (isDarkMode) {
    if (!body.hasAttribute('theme-mode')) {
      body.setAttribute('theme-mode', 'dark');
      document.body.style.backgroundColor = "#2E2E2E"
    }
  }
  else {
    body.removeAttribute('theme-mode');
    document.body.style.backgroundColor = "#FFFFFF"
  }
}

matchMode()

 //监听颜色模式
const mql = window.matchMedia('(prefers-color-scheme: dark)');
mql.addListener(matchMode);  */

</script>
</html>

